package pl.koziolekweb.testsonline.examples.console.view;

import java.util.Scanner;

public class ViewGenerator {

	private Scanner scanner;

	public ViewGenerator() {
		scanner = new Scanner(System.in);
	}

	public void generate(String message) {
		System.out.println(message);
	}

	public String read(String message) {
		System.out.println(message);
		return scanner.nextLine();
	}
}
